﻿$(function () {
    $(".Btn_NBget").click(function () {
        var img = $(this).prev();
        var w = img.width();
        var h = img.height();
        var url = img.attr("src");
        var requrl = "http://www.a.com:4500/CollectionImage.ashx?";
        requrl += "sUrl=" + url;
        requrl += "&w=" + w;
        requrl += "&h=" + h;
        requrl += "&des=asdad";
        requrl += "&format=json&jsoncallback=?";
        $.getJSON(requrl, function (data) {
            alert(data);
        });
    });
});